import request from '@/utils/request'

// 查询财务核心-基金账套列表
export function listFinFundAccount(query) {
  return request({
    url: '/fundAccount/finFundAccount/list',
    method: 'get',
    params: query
  })
}

// 查询财务核心-基金账套列表
export function getFundAccountYearMonthList(query) {
  return request({
    url: '/fundAccount/finFundAccount/getFundAccountYearMonthList',
    method: 'get',
    params: query
  })
}

// 查询财务核心-基金账套详细
export function getFinFundAccount(id) {
  return request({
    url: '/fundAccount/finFundAccount/' + id,
    method: 'get'
  })
}

// 保存财务核心-基金账套
export function saveFinFundAccount(data) {
  return request({
    url: '/fundAccount/finFundAccount/save',
    method: 'post',
    data: data
  })
}

// 删除财务核心-基金账套
export function delFinFundAccount(id) {
  return request({
    url: '/fundAccount/finFundAccount/' + id,
    method: 'delete'
  })
}

// 导出财务核心-基金账套
export function exportFinFundAccount(query) {
  return request({
    url: '/fundAccount/finFundAccount/export',
    method: 'get',
    params: query
  })
}
